home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / Sample Code / Sample Editors⁄Viewers / Draw Editor / DrawEditor.make < prev    next >
Encoding:
Text File  |  1995-12-08  |  14.6 KB  |  466 lines  |  [TEXT/MPS ]

  1. #
  2. #    File:        DrawEditor.make
  3. #
  4. #    Contains:    Makefile for OpenDoc DrawEditor test part
  5. #
  6. #    Written by:    Dave Stafford
  7. #
  8. #    Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  9. #
  10.  
  11. #---------------------------------------------------------------------------    
  12. # PROJECT VARIABLES
  13. #---------------------------------------------------------------------------    
  14.  
  15. TargetName = DrawEditor
  16. TargetNameILink = {TargetName} (68k)
  17. TargetNamePPCLink = {TargetName} (PPC)
  18. TargetNameFat = {TargetName} (fat)
  19.  
  20. TargetCreatorType = DWED
  21.  
  22. AdditionalIncludes = -i "{somSourceDir}" -i "{SourceDir}"
  23. AdditionalIDLIncludes = -i "{SourceDir}"
  24.  
  25. #---------------------------------------------------------------------------    
  26. # CFM/PEF Version Numbers
  27. #---------------------------------------------------------------------------    
  28. # For detailed instructions on proper CFM/PEF version numbering, see
  29. # Code Fragment Chapter (pg 3-7), Inside Macintosh: PowerPC System Software
  30. #---------------------------------------------------------------------------    
  31.  
  32. CurrentLibraryVersion =        0x01008000        # 1.0 Final
  33. LibraryExportsVersion =        0x00000000        # 0.0
  34. LibraryCodeVersion =        0x00000000        # 0.0
  35.  
  36. #---------------------------------------------------------------------------    
  37. # DIRECTORY DEPENDENCIES
  38. #---------------------------------------------------------------------------    
  39.  
  40. "{TargetDir}"  ƒ "{SourceDir}"
  41. "{ObjectsDir}" ƒ "{SourceDir}"
  42. "{ObjectsDir}" ƒ "{somSourceDir}"
  43. "{ObjectsDir}" ƒ "{ODUtilsImplDir}"
  44.  
  45. #---------------------------------------------------------------------------    
  46. # ROOT TARGET
  47. #---------------------------------------------------------------------------    
  48.  
  49. BUILDPPCLINK ƒ ∂
  50.     "{CppPrecompiledHeaders}"            ∂
  51.     "{TargetDir}{TargetNamePPCLink}"    ∂
  52.     "{somSourceDir}som_DrawEditor.exp"
  53.  
  54. BUILDREZ ƒ ∂
  55.     "{ObjectsDir}DrawEditor.PPC.rsrc"    ∂
  56.     "{ObjectsDir}DrawEditor.68k.rsrc"
  57.  
  58. BUILDILINK ƒ ∂
  59.     "{CppPrecompiledHeaders}"            ∂
  60.     "{TargetDir}{TargetNameILink}"        ∂
  61.     "{somSourceDir}som_DrawEditor.exp"
  62.  
  63. BUILDIDL ƒ ∂
  64.     "{somSourceDir}som_FrameIterator.xih"    ∂
  65.     "{somSourceDir}som_FrameIterator.xh"    ∂
  66. #    "{somSourceDir}som_FrameIterator.cpp"    ∂
  67.     "{somSourceDir}som_DrawEditor.xih"    ∂
  68.     "{somSourceDir}som_DrawEditor.xh"    ∂
  69. #    "{somSourceDir}som_DrawEditor.cpp"    ∂
  70.     "{somSourceDir}som_DrawEditor.exp"
  71.  
  72. BUILDFATLIB ƒ ∂
  73.     "{TargetDir}{TargetNameFat}"        ∂
  74.     "{TargetDir}{TargetNamePPCLink}"    ∂
  75.     "{TargetDir}{TargetNameILink}"
  76.  
  77. #---------------------------------------------------------------------------    
  78. # FILE LIST VARIABLES
  79. #---------------------------------------------------------------------------    
  80.  
  81. DrawEditorOBJECTS = ∂
  82.     "{ObjectsDir}DrawEditor.cpp.o"            ∂
  83.     "{ObjectsDir}DrawEditorUtils.cpp.o"        ∂
  84.     "{ObjectsDir}DrawEditorGlobals.cpp.o"    ∂
  85.     "{ObjectsDir}FrameProxy.cpp.o"            ∂
  86.     "{ObjectsDir}Command.cpp.o"                ∂
  87.     "{ObjectsDir}DrawContent.cpp.o"            ∂
  88.     "{ObjectsDir}Link.cpp.o"                ∂
  89.     "{ObjectsDir}LinkCommands.cpp.o"        ∂
  90.     "{ObjectsDir}Palette.cpp.o"                ∂
  91.     "{ObjectsDir}Promise.cpp.o"                ∂
  92.     "{ObjectsDir}SampleCollections.cpp.o"    ∂
  93.     "{ObjectsDir}Selection.cpp.o"            ∂
  94.     "{ObjectsDir}Shapes.cpp.o"                ∂
  95.     "{ObjectsDir}ShapeCommands.cpp.o"        ∂
  96.  
  97. somDrawEditorOBJECTS = ∂
  98.     "{ObjectsDir}som_FrameIterator.cpp.o"    ∂
  99.     "{ObjectsDir}som_DrawEditorInit.cpp.o"    ∂
  100.     "{ObjectsDir}som_DrawEditor.cpp.o"        ∂
  101.  
  102. OpenDocUtilityOBJECTS = ∂
  103.     "{ObjectsDir}AltPoint.cpp.o"             ∂
  104.     "{ObjectsDir}AltPoly.cpp.o"             ∂
  105.     "{ObjectsDir}BArray.cpp.o"             ∂
  106.     "{ObjectsDir}BndNSUtl.cpp.o"             ∂
  107.     "{ObjectsDir}Crawl.cpp.o"                 ∂
  108.     "{ObjectsDir}Except.cpp.o"                 ∂
  109.     "{ObjectsDir}FocusLib.cpp.o"             ∂
  110.     "{ObjectsDir}IText.cpp.o"                 ∂
  111.     "{ObjectsDir}FlipEnd.cpp.o"             ∂
  112.     "{ObjectsDir}ISOStr.cpp.o"                 ∂
  113.     "{ObjectsDir}LinkList.cpp.o"             ∂
  114.     "{ObjectsDir}NmSpcUtl.cpp.o"            ∂
  115.     "{ObjectsDir}ODDebug.cpp.o"             ∂
  116.     "{ObjectsDir}ODMemory.cpp.o"            ∂
  117.     "{ObjectsDir}ODNew.cpp.o"                ∂
  118.     "{ObjectsDir}OrdColl.cpp.o"                ∂
  119.     "{ObjectsDir}ODUtils.cpp.o"                ∂
  120.     "{ObjectsDir}PasclStr.cpp.o"            ∂
  121.     "{ObjectsDir}PlfmFile.cpp.o"             ∂
  122.     "{ObjectsDir}StorUtil.cpp.o"            ∂
  123.     "{ObjectsDir}StdTypIO.cpp.o"            ∂
  124.     "{ObjectsDir}TempObj.cpp.o"                ∂
  125.     "{ObjectsDir}TempIter.cpp.o"            ∂
  126.     "{ObjectsDir}UseRsrcM.cpp.o"             ∂
  127.     "{ObjectsDir}WinUtils.cpp.o"             ∂
  128.             
  129. #---------------------------------------------------------------------------    
  130. # DEPENDENCIES
  131. #---------------------------------------------------------------------------    
  132.  
  133. # --- IDL ---
  134.  
  135. "{somSourceDir}"som_FrameIterator.cpp ƒ    ∂
  136.     "{somSourceDir}"som_FrameIterator.idl ∂
  137.     "{ODIDLIntfDir}"EmbFrItr.idl
  138.     
  139. "{somSourceDir}"som_FrameIterator.xih ƒ    ∂
  140.     "{somSourceDir}"som_FrameIterator.xh    ∂
  141.     "{somSourceDir}"som_FrameIterator.idl ∂
  142.     "{ODIDLIntfDir}"EmbFrItr.idl
  143.     
  144. "{somSourceDir}"som_FrameIterator.xh ƒ        ∂
  145.     "{somSourceDir}"som_FrameIterator.idl ∂
  146.     "{ODIDLIntfDir}"EmbFrItr.idl
  147.  
  148. "{somSourceDir}"som_DrawEditor.cpp ƒ    ∂
  149.     "{somSourceDir}"som_DrawEditor.idl ∂
  150.     "{ODIDLIntfDir}"Part.idl
  151.     
  152. "{somSourceDir}"som_DrawEditor.xih ƒ    ∂
  153.     "{somSourceDir}"som_DrawEditor.xh    ∂
  154.     "{somSourceDir}"som_DrawEditor.idl ∂
  155.     "{ODIDLIntfDir}"Part.idl
  156.     
  157. "{somSourceDir}"som_DrawEditor.xh ƒ        ∂
  158.     "{somSourceDir}"som_DrawEditor.idl ∂
  159.     "{ODIDLIntfDir}"Part.idl
  160.  
  161. # --- SOURCE ---
  162.  
  163. "{ObjectsDir}DrawEditor.cpp.o"    ƒ                                ∂
  164.     "{SourceDir}DrawEditor.cpp"                                 ∂
  165.     "{SourceDir}DrawEditor.h"                                     ∂
  166.     "{SourceDir}DrawEditorDef.h"                                 ∂
  167.     "{SourceDir}Palette.h"
  168.     
  169. "{ObjectsDir}DrawEditorGlobals.cpp.o"    ƒ                            ∂
  170.     "{SourceDir}DrawEditorGlobals.cpp"                            ∂
  171.     "{SourceDir}DrawEditorGlobals.h"
  172.  
  173. "{ObjectsDir}DrawEditorUtils.cpp.o"    ƒ                            ∂
  174.     "{SourceDir}DrawEditorUtils.cpp"                            ∂
  175.     "{SourceDir}DrawEditorUtils.h"
  176.  
  177. "{ObjectsDir}DrawEditorUtils.cpp.o"    ƒ                            ∂
  178.     "{SourceDir}DrawEditorUtils.cpp"                            ∂
  179.     "{SourceDir}DrawEditorUtils.h"
  180.  
  181. "{ObjectsDir}FrameProxy.cpp.o"    ƒ                            ∂
  182.     "{SourceDir}FrameProxy.cpp"                            ∂
  183.     "{SourceDir}FrameProxy.h"
  184.  
  185. "{ObjectsDir}Command.cpp.o"    ƒ                            ∂
  186.     "{SourceDir}Command.cpp"                            ∂
  187.     "{SourceDir}Command.h"
  188.  
  189. "{ObjectsDir}DrawContent.cpp.o"    ƒ                        ∂
  190.     "{SourceDir}DrawContent.cpp"                        ∂
  191.     "{SourceDir}DrawContent.h"
  192.  
  193. "{ObjectsDir}LinkCommands.cpp.o"    ƒ                            ∂
  194.     "{SourceDir}LinkCommands.cpp"                                ∂
  195.     "{SourceDir}LinkCommands.h"
  196.  
  197. "{ObjectsDir}Link.cpp.o"    ƒ                            ∂
  198.     "{SourceDir}Link.cpp"                                ∂
  199.     "{SourceDir}Link.h"
  200.  
  201. "{ObjectsDir}Palette.cpp.o"    ƒ                            ∂
  202.     "{SourceDir}Palette.cpp"                            ∂
  203.     "{SourceDir}Palette.h"
  204.  
  205. "{ObjectsDir}Promise.cpp.o"    ƒ                            ∂
  206.     "{SourceDir}Promise.cpp"                            ∂
  207.     "{SourceDir}Promise.h"
  208.  
  209. "{ObjectsDir}Palette.cpp.o"    ƒ                            ∂
  210.     "{SourceDir}Palette.cpp"                            ∂
  211.     "{SourceDir}Palette.h"
  212.  
  213. "{ObjectsDir}SampleCollections.cpp.o"    ƒ                            ∂
  214.     "{SourceDir}SampleCollections.cpp"                            ∂
  215.     "{SourceDir}SampleCollections.h"
  216.  
  217. "{ObjectsDir}Selection.cpp.o"    ƒ                            ∂
  218.     "{SourceDir}Selection.cpp"                            ∂
  219.     "{SourceDir}Selection.h"
  220.  
  221. "{ObjectsDir}Shapes.cpp.o"    ƒ                        ∂
  222.     "{SourceDir}Shapes.cpp"                            ∂
  223.     "{SourceDir}Shapes.h"
  224.  
  225. "{ObjectsDir}ShapeCommands.cpp.o"    ƒ                        ∂
  226.     "{SourceDir}ShapeCommands.cpp"                            ∂
  227.     "{SourceDir}ShapeCommands.h"
  228.  
  229.  
  230. # --- SOM OBJECTS ---
  231.  
  232.  
  233.  
  234. "{ObjectsDir}som_FrameIterator.cpp.o"    ƒ                        ∂
  235.     "{somSourceDir}som_FrameIterator.cpp"                        ∂
  236.     "{somSourceDir}som_FrameIterator.xih"
  237.  
  238. "{ObjectsDir}som_DrawEditor.cpp.o"    ƒ                            ∂
  239.     "{somSourceDir}som_DrawEditor.cpp"                            ∂
  240.     "{somSourceDir}som_DrawEditor.xih"
  241.  
  242. "{ObjectsDir}som_DrawEditorInit.cpp.o"    ƒ                        ∂
  243.     "{somSourceDir}som_DrawEditorInit.cpp"                        ∂
  244.     "{somSourceDir}som_DrawEditor.xh"
  245.  
  246. # --- OPENDOC UTILITIES ---
  247.  
  248. "{ObjectsDir}AltPoint.cpp.o"    ƒ                                ∂
  249.     "{ODUtilsIntfDir}AltPoint.h"                                 ∂
  250.     "{ODUtilsImplDir}AltPoint.cpp"
  251.  
  252. "{ObjectsDir}AltPoly.cpp.o"    ƒ                                    ∂
  253.     "{ODUtilsIntfDir}AltPoly.h"                                 ∂
  254.     "{ODUtilsImplDir}AltPoly.cpp"
  255.  
  256. "{ObjectsDir}BArray.cpp.o"    ƒ                                ∂
  257.     "{ODUtilsIntfDir}BArray.h"                                     ∂
  258.     "{ODUtilsImplDir}BArray.cpp"
  259.  
  260. "{ObjectsDir}BndNSUtl.cpp.o"    ƒ                                ∂
  261.     "{ODUtilsIntfDir}BndNSUtl.h"                                     ∂
  262.     "{ODUtilsImplDir}BndNSUtl.cpp"
  263.  
  264. "{ObjectsDir}Crawl.cpp.o"    ƒ                                    ∂
  265.     "{ODUtilsIntfDir}Crawl.h"                                     ∂
  266.     "{ODUtilsImplDir}Crawl.cpp"
  267.  
  268. "{ObjectsDir}Except.cpp.o"    ƒ                                    ∂
  269.     "{ODUtilsIntfDir}Except.h"                                     ∂
  270.     "{ODUtilsImplDir}Except.cpp"
  271.  
  272. "{ObjectsDir}FocusLib.cpp.o"    ƒ                                ∂
  273.     "{ODUtilsIntfDir}FocusLib.h"                                 ∂
  274.     "{ODUtilsImplDir}FocusLib.cpp"
  275.  
  276. "{ObjectsDir}IText.cpp.o"    ƒ                                    ∂
  277.     "{ODUtilsIntfDir}IText.h"                                     ∂
  278.     "{ODUtilsImplDir}IText.cpp"
  279.  
  280. "{ObjectsDir}FlipEnd.cpp.o"    ƒ                                    ∂
  281.     "{ODUtilsIntfDir}FlipEnd.h"                                 ∂
  282.     "{ODUtilsImplDir}FlipEnd.cpp"
  283.  
  284. "{ObjectsDir}ISOStr.cpp.o"    ƒ                                    ∂
  285.     "{ODUtilsIntfDir}ISOStr.h"                                     ∂
  286.     "{ODUtilsImplDir}ISOStr.cpp"
  287.  
  288. "{ObjectsDir}NmSpcUtl.cpp.o"    ƒ                                    ∂
  289.     "{ODUtilsIntfDir}NmSpcUtl.h"                                 ∂
  290.     "{ODUtilsImplDir}NmSpcUtl.cpp"
  291.  
  292. "{ObjectsDir}ODDebug.cpp.o"    ƒ                                    ∂
  293.     "{ODUtilsIntfDir}ODDebug.h"                                 ∂
  294.     "{ODUtilsImplDir}ODDebug.cpp"
  295.  
  296. "{ObjectsDir}OrdColl.cpp.o"    ƒ                                    ∂
  297.     "{ODUtilsIntfDir}OrdColl.h"                                 ∂
  298.     "{ODUtilsImplDir}OrdColl.cpp"
  299.  
  300. "{ObjectsDir}LinkList.cpp.o"    ƒ                                ∂
  301.     "{ODUtilsIntfDir}LinkList.h"                                 ∂
  302.     "{ODUtilsImplDir}LinkList.cpp"
  303.  
  304. "{ObjectsDir}ODMemory.cpp.o"    ƒ                                ∂
  305.     "{ODUtilsIntfDir}ODMemory.h"                                 ∂
  306.     "{ODUtilsImplDir}ODMemory.cpp"
  307.  
  308. "{ObjectsDir}ODUtils.cpp.o"    ƒ                                    ∂
  309.     "{ODUtilsIntfDir}ODUtils.h"                                 ∂
  310.     "{ODUtilsImplDir}ODUtils.cpp"
  311.  
  312. "{ObjectsDir}PasclStr.cpp.o"    ƒ                                ∂
  313.     "{ODUtilsIntfDir}PasclStr.h"                                 ∂
  314.     "{ODUtilsImplDir}PasclStr.cpp"
  315.  
  316. "{ObjectsDir}PlfmFile.cpp.o"    ƒ                                ∂
  317.     "{ODUtilsIntfDir}PlfmFile.h"                                 ∂
  318.     "{ODUtilsImplDir}PlfmFile.cpp"
  319.  
  320. "{ObjectsDir}StorUtil.cpp.o"    ƒ                                ∂
  321.     "{ODUtilsIntfDir}StorUtil.h"                                 ∂
  322.     "{ODUtilsImplDir}StorUtil.cpp"
  323.  
  324. "{ObjectsDir}StdTypIO.cpp.o"    ƒ                                ∂
  325.     "{ODUtilsIntfDir}StdTypIO.h"                                 ∂
  326.     "{ODUtilsImplDir}StdTypIO.cpp"
  327.  
  328. "{ObjectsDir}TempIter.cpp.o"    ƒ                                ∂
  329.     "{ODUtilsIntfDir}TempIter.h"                                 ∂
  330.     "{ODUtilsImplDir}TempIter.cpp"
  331.  
  332. "{ObjectsDir}TempObj.cpp.o"    ƒ                                ∂
  333.     "{ODUtilsIntfDir}TempObj.h"                                 ∂
  334.     "{ODUtilsImplDir}TempObj.cpp"
  335.  
  336. "{ObjectsDir}UseRsrcM.cpp.o"    ƒ                                ∂
  337.     "{ODUtilsIntfDir}UseRsrcM.h"                                 ∂
  338.     "{ODUtilsImplDir}UseRsrcM.cpp"
  339.  
  340. "{ObjectsDir}WinUtils.cpp.o"    ƒ                                ∂
  341.     "{ODUtilsIntfDir}WinUtils.h"                                 ∂
  342.     "{ODUtilsImplDir}WinUtils.cpp"
  343.  
  344.  
  345.  
  346.  
  347. #---------------------------------------------------------------------------    
  348. # BUILD LIBRARIES
  349. #---------------------------------------------------------------------------    
  350.  
  351. # --- 68k Link ---
  352.  
  353. "{TargetDir}{TargetNameILink}" ƒƒ      {DrawEditorOBJECTS}            ∂
  354.                                      {somDrawEditorOBJECTS}            ∂
  355.                                      {OpenDocUtilityOBJECTS}        ∂
  356.                                      "{somSourceDir}som_DrawEditor.exp"
  357.     Echo Linking: {TargetNameILink}
  358.     {LinkTool}    ∂
  359.         -export `ConvertExportList "{somSourceDir}som_DrawEditor.exp"` ∂
  360.         {ILinkOptions}                                        ∂
  361.         {ILinkShLibOptions}                                    ∂
  362.         -init DrawEditorCFMInit                                ∂
  363.         -vercur {CurrentLibraryVersion}                        ∂
  364.         -verdef {LibraryExportsVersion}                        ∂
  365.         -verimp {LibraryCodeVersion}                        ∂
  366.         {ShLibPreLibraries}                                    ∂
  367.         {DrawEditorOBJECTS}                                    ∂
  368.         {somDrawEditorOBJECTS}                                ∂
  369.         {OpenDocUtilityOBJECTS}                                ∂
  370.         "{ODCFMLibrariesDir}OpenDoc Core.stub"                ∂
  371.         "{ODCFMLibrariesDir}OpenDoc User Interface.stub"    ∂
  372.         "{ODCFMLibrariesDir}OpenDoc Storage.stub"            ∂
  373.         "{ODCFMLibrariesDir}OpenDoc Imaging.stub"            ∂
  374.         "{ODCFMLibrariesDir}OpenDoc Layout.stub"            ∂
  375.         "{ODCFMLibrariesDir}OpenDoc Binding.stub"            ∂
  376.         "{ODCFMLibrariesDir}Memory Manager.stub"            ∂
  377.         {ShLibPostLibraries}                                ∂
  378.         -o "{ObjectsDir}{TargetNameILink}".seg
  379.     If !{Status}
  380.         Echo Building: {TargetNameILink}.SYM
  381.         {SymTool} "{ObjectsDir}{TargetNameILink}".seg.NJ    ∂
  382.                 -o "{TargetDir}{TargetNameILink}".SYM -sym 3.2
  383.         Echo Building: {TargetNameILink}∂'s code∂/data fragment
  384.         MakeFlat "{ObjectsDir}{TargetNameILink}".seg -o "{TargetDir}{TargetNameILink}"
  385.         Echo Copying: {TargetNameILink}∂'s resources
  386.         Echo "include ∂"{RsrcObjectsDir}{TargetName}.68k.rsrc∂";" | Rez -a -o "{TargetDir}{TargetNameILink}"
  387.         Echo "delete 'ckid';"  | Rez -a -o "{TargetDir}{TargetNameILink}"
  388.         SetFile -a Bi -c "{TargetCreatorType}" {Targ}
  389.     End
  390.  
  391. # --- PowerPC Link ---
  392.  
  393. "{TargetDir}{TargetNamePPCLink}" ƒƒ        {DrawEditorOBJECTS}            ∂
  394.                                         {somDrawEditorOBJECTS}        ∂
  395.                                         {OpenDocUtilityOBJECTS}        ∂
  396.                                         "{somSourceDir}som_DrawEditor.exp"
  397.     Echo Linking: {TargetNamePPCLink}
  398.     {LinkTool}    ∂
  399.         -export `ConvertExportList "{somSourceDir}som_DrawEditor.exp"` ∂
  400.         {PPCLinkOptions}                                    ∂
  401.         {PPCLinkShLibOptions}                                ∂
  402.         -init DrawEditorCFMInit                                ∂
  403.         -verCur {CurrentLibraryVersion}                        ∂
  404.         -verDef {LibraryExportsVersion}                        ∂
  405.         -verImp {LibraryCodeVersion}                        ∂
  406.         {PPCShLibPreLibraries}                                ∂
  407.         {DrawEditorOBJECTS}                                    ∂
  408.         {somDrawEditorOBJECTS}                                ∂
  409.         {OpenDocUtilityOBJECTS}                                ∂
  410.         "{ODCFMLibrariesDir}OpenDoc Core.stub"                ∂
  411.         "{ODCFMLibrariesDir}OpenDoc User Interface.stub"    ∂
  412.         "{ODCFMLibrariesDir}OpenDoc Storage.stub"            ∂
  413.         "{ODCFMLibrariesDir}OpenDoc Imaging.stub"            ∂
  414.         "{ODCFMLibrariesDir}OpenDoc Layout.stub"            ∂
  415.         "{ODCFMLibrariesDir}OpenDoc Binding.stub"            ∂
  416.         "{ODCFMLibrariesDir}Memory Manager.stub"            ∂
  417.         {PPCShLibPostLibraries}                                ∂
  418.         -o "{ObjectsDir}{TargetNamePPCLink}"
  419.     If !{Status}
  420.         Move -y "{ObjectsDir}{TargetNamePPCLink}" "{TargetDir}"
  421.         if ( `exists "{ObjectsDir}{TargetNamePPCLink}".xcoff != ""` )
  422.             Echo Building: {TargetNamePPCLink}.xSYM
  423.             {SymTool} "{ObjectsDir}{TargetNamePPCLink}".xcoff            ∂
  424.                     {AdditionalIncludes} -i "{ODUtilsImplDir}"            ∂
  425.                     -sym on,3.2 -o "{TargetDir}{TargetNamePPCLink}".xSYM
  426.         end
  427.         Echo Copying: {TargetNamePPCLink}∂'s resources
  428.         Echo "include ∂"{RsrcObjectsDir}{TargetName}.PPC.rsrc∂";" | Rez -a -o "{TargetDir}{TargetNamePPCLink}"
  429.         Echo "delete 'ckid';"  | Rez -a -o "{TargetDir}{TargetNamePPCLink}"
  430.         SetFile -a Bi -c "{TargetCreatorType}" {Targ}
  431.     End
  432.  
  433.  
  434. #---------------------------------------------------------------------------    
  435. # REZ STEPS
  436. #---------------------------------------------------------------------------    
  437.  
  438. "{RsrcObjectsDir}{TargetName}.PPC.rsrc"    ƒ                                ∂
  439.                                         "{SourceDir}DrawEditor.r"        ∂
  440.                                         "{SourceDir}DrawEditorDef.h"    ∂
  441.                                         "{SourceDir}DrawEditorVers.h"    ∂
  442.                                         "{SourceDir}DrawEditorOtherResources.rsrc"
  443.     Echo Rezzing: {TargetName}.r (for PPC)
  444.     Rez {RezOptions} {ODRezIntf} "{SourceDir}{TargetName}.r" -o {targ}
  445.     Echo "delete 'ckid';"  | Rez -a -o {Targ}
  446.     SetFile -a i -c "{ResEditCreator}" -t "{ResEditFileType}" {Targ}
  447.     if ( `exists "{TargetDir}{TargetNamePPCLink}" != ""` )
  448.         Echo Copying: {TargetNamePPCLink}∂'s resources
  449.         Echo "include ∂""{Targ}"∂";" | Rez -a -o "{TargetDir}{TargetNamePPCLink}"
  450.     end    
  451.  
  452. "{RsrcObjectsDir}{TargetName}.68k.rsrc"    ƒ                                ∂
  453.                                         "{SourceDir}DrawEditor.r"        ∂
  454.                                         "{SourceDir}DrawEditorDef.h"    ∂
  455.                                         "{SourceDir}DrawEditorVers.h"    ∂
  456.                                         "{SourceDir}DrawEditorOtherResources.rsrc"
  457.     Echo Rezzing: {TargetName}.r (for 68k)
  458.     Rez -d _68KBUILD_ {RezOptions} {ODRezIntf} "{SourceDir}{TargetName}.r" -o {Targ} 
  459.     Echo "delete 'ckid';"  | Rez -a -o {Targ}
  460.     SetFile -a i -c "{ResEditCreator}" -t "{ResEditFileType}" {Targ}
  461.     if ( `exists "{TargetDir}{TargetNameILink}" != ""` )
  462.         Echo Copying: {TargetNameILink}∂'s resources
  463.         Echo "include ∂""{Targ}"∂";" | Rez -a -o "{TargetDir}{TargetNameILink}"
  464.     end
  465.  
  466.